package com.haredot.service;

import com.haredot.entity.User;
import com.haredot.result.R;

public interface UserService {

    R<?> loginSys(User user);

    R<?> refreshToken(String refresh);

    R<?> saveUsr(User user);

    R<?> queryTeachers();

    R<?> queryCoffeeList(Long userId);

    R<?> queryCoffeeDetail(Long cid);

    R<?> verifyCoffee(Long cid, Integer agree);

    R<?> cancelCoffee(Long cid);
}
